import { IsNotEmpty } from 'class-validator';
import { FileUpload } from '@/module/file-upload/entities/file-upload.entity';
import { otherType } from '@/module/everyday-data/type/otherType';

export class CreateEverydayDatumDto {
  @IsNotEmpty()
  allNumber: number;

  @IsNotEmpty()
  uploadDate: Date;

  @IsNotEmpty()
  fileUploads: FileUpload[];

  @IsNotEmpty()
  testingMachineId: number;

  @IsNotEmpty()
  otherNumber: otherType[];
}
